#ifndef RECTANGLE_H
#define RECTANGLE_H

class Rectangle {
  public:
    Rectangle(double width, double height);
    double getArea() const;
    double getPerimeter() const;
    void setWidth(double width);
    void setHeight(double height);
    
    static const double MAXIMUM_HEIGHT = 100.00 ;
    static const double MAXIMUM_WIDTH = 100.00 ;
  private:
    double m_width,m_height;
    bool isHeightValid(const double value) const;  
    bool isWidthValid(const double value) const;  
    bool isRectangleValid() const;
};

#endif
